﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FANUC.DTO
{
    public class UnitListTraceRowDto
    {
        public int? Id { get; set; }
        public string PartSerial { get; set; }
        public string QualityGrade { get; set; }
        public string BatchNo { get; set; }
        public string RobotNo { get; set; }
        public string StationNo { get; set; }
        public string PartName { get; set; }
        public string Process { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public DateTime? InsertTime { get; set; }

    }
    public class UnitListTraceDtoIn
    {
        public string PartSerial { get; set; }
        public int? QualityGradeGood { get; set; }
        public int? QualityGradeOK { get; set; }
        public int? QualityGradeNG { get; set; }
        public string BatchNo { get; set; }
        public string RobotNo { get; set; }
        public int? StationNo { get; set; }
        public string PartName { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public int Process { get; set; }

        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
    public class UnitListTraceDtoOut
    {
        public List<UnitListTraceRowDto> TableData { get; set; }
        public int PageIndex { get; set; }
        public int TotalPages { get; set; }
        public int PageSize { get; set; }
    }

    public class UnitListTraceDtoOutAll
    {
        public SpotUnitTraceDetailDtoOut SpotTableData { get; set; }
        public SealUnitTraceDetailDtoOut SealTableData { get; set; }
        public PolishUnitTraceDetailDtoOut PolishTableData { get; set; }
        public PressUnitTraceDetailDtoOut PressTableData { get; set; }
        public UnitTraceDetailDtoOut ArcWeldingTableData { get; set; }
        public int PageIndex { get; set; }
        public int TotalPages { get; set; }
        public int PageSize { get; set; }
    }
}